package com.example.pc.startproject_333wzj.iface;

import com.example.pc.startproject_333wzj.bean.WeatherInfo;

/**
 * Created by pc on 2017/3/14.
 */
//统一网络数据获取结果（成功/失败），定义接口
public interface WeatherListener {
    //成功返回成功信息
    void onResponse(WeatherInfo weatherInfo);
    //失败返回失败信息
    void onFail(String msg);
}
